##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 05\05.1090 - No Title.py
# Description: No Title
##############################################################################
points = 0
question = 1
while question <= 3:
response = input(f"Answer to question {question}: ")
if question == 1 and response == "b":
points = points + 1
if question == 2 and response == "a":
points = points + 1
if question == 3 and response == "d":
points = points + 1
question = question + 1
print ("Student scored {points} point(s)")